Integrand size = 25, antiderivative size = 251 \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=-\frac {\arctan \left (\frac {\sqrt {i a-b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(i a-b)^{5/2} d}+\frac {2 \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{b^{5/2} d}-\frac {\text {arctanh}\left (\frac {\sqrt {i a+b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(i a+b)^{5/2} d}-\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}} \]
[Out]
Time = 2.28 (sec) , antiderivative size = 251, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {3646, 3726, 3736, 6857, 65, 223, 212, 95, 211, 214} \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=-\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b d \left (a^2+b^2\right ) (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 d \left (a^2+b^2\right )^2 \sqrt {a+b \tan (c+d x)}}-\frac {\arctan \left (\frac {\sqrt {-b+i a} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d (-b+i a)^{5/2}}+\frac {2 \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{b^{5/2} d}-\frac {\text {arctanh}\left (\frac {\sqrt {b+i a} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{d (b+i a)^{5/2}} \]
[In]
[Out]
Rule 65
Rule 95
Rule 211
Rule 212
Rule 214
Rule 223
Rule 3646
Rule 3726
Rule 3736
Rule 6857
Rubi steps \begin{align*} \text {integral}& = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}+\frac {2 \int \frac {\sqrt {\tan (c+d x)} \left (\frac {3 a^2}{2}-\frac {3}{2} a b \tan (c+d x)+\frac {3}{2} \left (a^2+b^2\right ) \tan ^2(c+d x)\right )}{(a+b \tan (c+d x))^{3/2}} \, dx}{3 b \left (a^2+b^2\right )} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {4 \int \frac {\frac {3}{4} a^2 \left (a^2+3 b^2\right )-\frac {3}{2} a b^3 \tan (c+d x)+\frac {3}{4} \left (a^2+b^2\right )^2 \tan ^2(c+d x)}{\sqrt {\tan (c+d x)} \sqrt {a+b \tan (c+d x)}} \, dx}{3 b^2 \left (a^2+b^2\right )^2} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {4 \text {Subst}\left (\int \frac {\frac {3}{4} a^2 \left (a^2+3 b^2\right )-\frac {3}{2} a b^3 x+\frac {3}{4} \left (a^2+b^2\right )^2 x^2}{\sqrt {x} \sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{3 b^2 \left (a^2+b^2\right )^2 d} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {4 \text {Subst}\left (\int \left (\frac {3 \left (a^2+b^2\right )^2}{4 \sqrt {x} \sqrt {a+b x}}+\frac {3 \left (b^2 \left (a^2-b^2\right )-2 a b^3 x\right )}{4 \sqrt {x} \sqrt {a+b x} \left (1+x^2\right )}\right ) \, dx,x,\tan (c+d x)\right )}{3 b^2 \left (a^2+b^2\right )^2 d} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {x} \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{b^2 d}+\frac {\text {Subst}\left (\int \frac {b^2 \left (a^2-b^2\right )-2 a b^3 x}{\sqrt {x} \sqrt {a+b x} \left (1+x^2\right )} \, dx,x,\tan (c+d x)\right )}{b^2 \left (a^2+b^2\right )^2 d} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {2 \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^2}} \, dx,x,\sqrt {\tan (c+d x)}\right )}{b^2 d}+\frac {\text {Subst}\left (\int \left (\frac {2 a b^3+i b^2 \left (a^2-b^2\right )}{2 (i-x) \sqrt {x} \sqrt {a+b x}}+\frac {-2 a b^3+i b^2 \left (a^2-b^2\right )}{2 \sqrt {x} (i+x) \sqrt {a+b x}}\right ) \, dx,x,\tan (c+d x)\right )}{b^2 \left (a^2+b^2\right )^2 d} \\ & = -\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {i \text {Subst}\left (\int \frac {1}{\sqrt {x} (i+x) \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 (a-i b)^2 d}+\frac {i \text {Subst}\left (\int \frac {1}{(i-x) \sqrt {x} \sqrt {a+b x}} \, dx,x,\tan (c+d x)\right )}{2 (a+i b)^2 d}+\frac {2 \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{b^2 d} \\ & = \frac {2 \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{b^{5/2} d}-\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}}+\frac {i \text {Subst}\left (\int \frac {1}{i-(-a+i b) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(a-i b)^2 d}+\frac {i \text {Subst}\left (\int \frac {1}{i-(a+i b) x^2} \, dx,x,\frac {\sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(a+i b)^2 d} \\ & = -\frac {\arctan \left (\frac {\sqrt {i a-b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(i a-b)^{5/2} d}+\frac {2 \text {arctanh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{b^{5/2} d}-\frac {\text {arctanh}\left (\frac {\sqrt {i a+b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(i a+b)^{5/2} d}-\frac {2 a^2 \tan ^{\frac {3}{2}}(c+d x)}{3 b \left (a^2+b^2\right ) d (a+b \tan (c+d x))^{3/2}}-\frac {2 a^2 \left (a^2+3 b^2\right ) \sqrt {\tan (c+d x)}}{b^2 \left (a^2+b^2\right )^2 d \sqrt {a+b \tan (c+d x)}} \\ \end{align*}
Time = 6.25 (sec) , antiderivative size = 423, normalized size of antiderivative = 1.69 \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=-\frac {(-1)^{3/4} \arctan \left (\frac {\sqrt [4]{-1} \sqrt {-a+i b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(-a+i b)^{5/2} d}-\frac {(-1)^{3/4} \arctan \left (\frac {\sqrt [4]{-1} \sqrt {a+i b} \sqrt {\tan (c+d x)}}{\sqrt {a+b \tan (c+d x)}}\right )}{(a+i b)^{5/2} d}-\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 (i a-b) d (a+b \tan (c+d x))^{3/2}}-\frac {2 \tan ^{\frac {3}{2}}(c+d x)}{3 b d (a+b \tan (c+d x))^{3/2}}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 (i a+b) d (a+b \tan (c+d x))^{3/2}}-\frac {\sqrt {\tan (c+d x)}}{(a-i b)^2 d \sqrt {a+b \tan (c+d x)}}-\frac {\sqrt {\tan (c+d x)}}{(a+i b)^2 d \sqrt {a+b \tan (c+d x)}}-\frac {2 \sqrt {\tan (c+d x)}}{b^2 d \sqrt {a+b \tan (c+d x)}}+\frac {2 \text {arcsinh}\left (\frac {\sqrt {b} \sqrt {\tan (c+d x)}}{\sqrt {a}}\right ) \sqrt {a+b \tan (c+d x)}}{\sqrt {a} b^{5/2} d \sqrt {1+\frac {b \tan (c+d x)}{a}}} \]
[In]
[Out]
result has leaf size over 500,000. Avoiding possible recursion issues.
Time = 1.20 (sec) , antiderivative size = 1490358, normalized size of antiderivative = 5937.68
\[\text {output too large to display}\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 11532 vs. \(2 (209) = 418\).
Time = 4.33 (sec) , antiderivative size = 23066, normalized size of antiderivative = 91.90 \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=\int { \frac {\tan \left (d x + c\right )^{\frac {7}{2}}}{{\left (b \tan \left (d x + c\right ) + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {\tan ^{\frac {7}{2}}(c+d x)}{(a+b \tan (c+d x))^{5/2}} \, dx=\int \frac {{\mathrm {tan}\left (c+d\,x\right )}^{7/2}}{{\left (a+b\,\mathrm {tan}\left (c+d\,x\right )\right )}^{5/2}} \,d x \]
[In]
[Out]